package com.yytek.am.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yytek.common.core.annotation.Excel;
import com.yytek.common.core.web.domain.BaseEntity;

/**
 * 告警定义关联设备对象 fm_def_rlobject
 * 
 * @author yytek-iot
 * @date 2022-10-10
 */
@ApiModel("告警定义关联设备对象")
public class FmDefRlobject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 告警定义ID */
    @ApiModelProperty("告警定义ID")
    private Long alarmDefineId;

    /** 告警对象唯一标识 */
    @ApiModelProperty("告警对象唯一标识")
    private String rlObjectId;

    public void setAlarmDefineId(Long alarmDefineId) 
    {
        this.alarmDefineId = alarmDefineId;
    }

    public Long getAlarmDefineId() 
    {
        return alarmDefineId;
    }
    public void setRlObjectId(String rlObjectId) 
    {
        this.rlObjectId = rlObjectId;
    }

    public String getRlObjectId() 
    {
        return rlObjectId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("alarmDefineId", getAlarmDefineId())
            .append("rlObjectId", getRlObjectId())
            .toString();
    }
}
